package com.itheima_7;

import java.util.concurrent.CountDownLatch;

public class Mother extends Thread {
    private CountDownLatch c;
    public Mother(CountDownLatch c){
        this.c=c;
    }
    @Override
    public void run() {
        try {
            c.await();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("妈妈收拾碗筷");
    }
}
